﻿<UserControl
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:SeismicResponseSpectrum.Ui" x:Class="SeismicResponseSpectrum.Ui.CustomPopup" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" Background="#2d89ef">
	<UserControl.Resources>
		<local:ToUppercaseConverter x:Key="ToUppercaseConverter"/>
	</UserControl.Resources>
	<Grid Margin="10">
		<Grid x:Name="grid" />
		<Grid>
			<Grid.RowDefinitions>
				<RowDefinition Height="30"/>
				<RowDefinition Height="22*"/>
			</Grid.RowDefinitions>
			<TextBlock x:Name="txtTitle" Text="{Binding Title, Converter={StaticResource ToUppercaseConverter}, FallbackValue=TEST}" TextAlignment="Center" FontSize="20" Foreground="White"/>
			<TextBlock x:Name="txtMemo" Text="{Binding Memo, FallbackValue=Test}" Grid.Row="1" Foreground="White"/>

		</Grid>
	</Grid>
</UserControl>
